package com.alliky.cart.ui.viewmodel;

import androidx.annotation.NonNull;
import androidx.databinding.ObservableField;

import com.alliky.core.entity.MsgEntity;
import com.alliky.core.base.BaseViewModel;
import com.alliky.core.base.ItemViewModel;

/**
 * @Description TODO
 * @Author wxianing
 * @Date 2021/5/10 0010 18:24
 * @Version 1.0
 */
public class CartItemViewModel extends ItemViewModel {

    public ObservableField<MsgEntity> mField = new ObservableField<>();

    public CartItemViewModel(@NonNull BaseViewModel viewModel, MsgEntity msgEntity) {
        super(viewModel);
        mField.set(msgEntity);
    }
}
